package protocol.command.response;

import lombok.Data;
import lombok.EqualsAndHashCode;
import protocol.command.Command;
import protocol.command.Packet;

/**
 * @author xiaozefeng
 * @date 2018/12/3 9:33 AM
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LoginResponsePacket extends Packet {

    private boolean success;

    private String reason;


    @Override
    public Byte getCommand() {
        return Command.LOGIN_RESPONSE;
    }

}
